/*
 * CategoryListHolder.java
 * business
 *
 * Created by SunDing on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.viewholder;

import android.view.View;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.yidiandao.business.R;
import com.yidiandao.business.ui.widget.listview.ViewHolder;

/** 首页 分类 */
public class CategoryListHolder extends ViewHolder {

    public TextView mTvCategoryName;

    public RelativeLayout mRlBgCategory;

    public View mViewCategory;

    @Override
    protected void initView(View rootView) {
        mRlBgCategory = (RelativeLayout) rootView.findViewById(R.id.rl_bg_category);
        mTvCategoryName = (TextView) rootView.findViewById(R.id.tv_category_name);
        mViewCategory = rootView.findViewById(R.id.view_categroy);
    }

    @Override
    protected int getItemLayoutId() {
        return R.layout.item_category_list;
    }
}
